﻿using System;

namespace Alex.Library.Log
{
    /// <summary>
    /// 日志输出适配器
    /// </summary>
    public interface IFlushAdapter
    {
        /// <summary>
        /// 输出
        /// </summary>
        /// <param name="level">日志级别</param>
        /// <param name="flushTime">输出时间</param>
        /// <param name="message">消息</param>
        void Flush(LogLevel level, DateTime flushTime, string message);
    }
}
